package com.config;

import com.entity.UserEntity;
import com.entity.Win10Entity;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Conditional;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

@Configuration
//@EnableAsync
//@EnableScheduling
@Import({UserEntity.class,FactoryBeanConfig.class,ImportSelectorConfig.class,ImportBeanDefinitionRegistrarConfig.class})
public class MyConfig {

    @Bean
    @Conditional(ConditionConfig.class)
    public Win10Entity win10Entity(){
        return new Win10Entity();
    }
}
